package top.aylan.org.service;

import top.aylan.org.entity.Banner;
import top.aylan.org.entity.BannerExample;
import top.aylan.org.tools.Pager;

import java.util.List;

public interface BannerService {

    public List<Banner> selectBannerInUse() throws Exception;

    public List<Banner> selectBannerByPage(Pager pager) throws Exception;

    public int getCount(BannerExample example) throws Exception;

    public Banner findById(Integer id)throws Exception;

    public Banner findByExample(BannerExample example) throws Exception;

    public int delete(Integer id) throws Exception;

    public int save(Banner Project)throws Exception;

    public int updateById(Integer id,Banner Project)throws Exception;

}
